#ifndef AuditINSTANCESET_H
#define AuditINSTANCESET_H
#include <QMutex>
#include "database/Database.h"
#include "audit/Audit.h"
#include "audit/Audits.h"
class AuditInstanceSet
{
    private:
    Database*       m_pDb;
    Audits*         m_pAudits;
    QMutex          m_muxAudits;

	public:
    AuditInstanceSet(Database* pDb);
    void ResetAudits();


    ~AuditInstanceSet();
     Audits* getAllAudits();
	 Audits* getAudits(QString sCondition);


};
extern AuditInstanceSet* g_pAuditInstanceSet;

#endif